#ifndef __CROSSFIRE_H
#define __CROSSFIRE_H

class CCF_SkyDom : CCF_EngineElement
{
private:
  LPDIRECT3DDEVICE9 m_pDevice;
  LPDIRECT3DCUBETEXTURE9 m_pCubeTexture;
  LPD3DXMESH m_pMesh;
  CCF_Shader* m_pShader;

  D3DXMATRIX m_matWorld;
  D3DXVECTOR3 m_vecOrientation;
  D3DXVECTOR3 m_vecScaling;

public:
  CCF_SkyDom(void);
  ~CCF_SkyDom(void);

  BOOL Initialize( LPDIRECT3DDEVICE9 Device, const LPWSTR szSkyDomMesh,
	  const LPWSTR szTexture, D3DXVECTOR3 Scale, D3DXVECTOR3 Orientation);

  void Render( CCF_Camera* camera );
};

#endif